<?php
$page_title ='eTAT: Survey';
$style = 'survey';
$script = 'survey';

if(isset($_POST['download'])){
    include ('survey/ref/download.php');
}

require_once 'controller.php';
require_once 'header.php';

//$base =& $_SERVER['PHP_SELF'];
//if(isset($_REQUEST['ref'])) {
//    $ref = $_REQUEST['ref'];
//
//}else
//    $ref ='interface';
//if(empty($_REQUEST['ref'])){
//    $ref = 'interface' ;
//}
//
//if(isset ($_REQUEST['ref'])&& isset($_REQUEST['sid'])){
//    $ref = $_REQUEST['ref'];
//}

//include('survey/ref/'.$ref.'.php');
?>

<h1>Survey</h1>

<?php 
require_once 'Footer.php';
?>